<?php $token = session('token');?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Administrator's Control Panel</title>
<link href="{{asset('assets/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link href="{{asset('assets/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet">
<link href="{{asset('assets/css/animate.css')}}" rel="stylesheet">
<link href="{{asset('assets/css/style.css')}}" rel="stylesheet">
<link href="{{asset('assets/css/app.css')}}" rel="stylesheet">
@yield('pageheader')
</head>
<body>
<div id="wrapper">
  @include('admin/navbar')
  <div id="page-wrapper" class="gray-bg">
    <div class="row border-bottom">
      <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom:0;z-index:1;">
        <div class="navbar-header">
          <a href="javascript:;" class="navbar-minimalize minimalize-styl-2 btn btn-primary">
            <i class="fa fa-bars"></i>
          </a>
        </div>
        <ul class="nav navbar-top-links navbar-right">
          <li class="m-r">
            <a href="{{url()}}" target="_blank"> <i class="fa fa-home"></i>
              网站首页
            </a>
          </li>
          <li>
            <a href="{{url('admin/logout')}}" onclick="return confirm('您确定要退出吗？');"> <i class="fa fa-sign-out"></i>
              退出
            </a>
          </li>
        </ul>
      </nav>
    </div>
    @yield('content')
    <div class="footer">
      <div>
        <strong>Copyright</strong>
        内容管理系统cms_laravel &copy; 2016
      </div>
    </div>
  </div>
</div>
<!-- Full screen mask -->
<div id="loadingMask" class="loading" aria-label="Loading" tabindex="-1"></div>
<!-- Mainly scripts -->
<script src="{{asset('assets/js/jquery-1.10.2.js')}}"></script>
<script src="{{asset('assets/bootstrap/js/bootstrap.min.js')}}"></script>
<script src="{{asset('assets/js/plugins/metisMenu/jquery.metisMenu.js')}}"></script>
<script src="{{asset('assets/js/plugins/slimscroll/jquery.slimscroll.min.js')}}"></script>
<!-- Custom and plugin javascript -->
<script src="{{asset('assets/js/inspinia.js')}}"></script>
<script src="{{asset('assets/js/plugins/pace/pace.min.js')}}"></script>
<!-- artDialog & artTemplate -->
<script src="{{asset('assets/artDialog/dist/dialog-plus-min.js')}}"></script>
<link href="{{asset('assets/artDialog/css/ui-dialog.min.css')}}" rel="stylesheet" type="text/css">
<script src="{{asset('assets/artTemplate/template.js')}}"></script>
<script src="{{asset('assets/controllers/util.js')}}"></script>
@yield('pagescript')
</body>
</html>